package com.hzlh.core.service.impl;




import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import com.hzlh.core.service.SystemParameterService;


@Service("systemParameterService")
public class SystemParameterServiceImpl implements SystemParameterService {


	@Value("${fileserver.dir}")
	private String fileServerDir;

	@Value("${fileserver.url}")
	private String fileServerUrl;
	 
	@Value("${ftp.url}")
	private String ftpUrl;
	
	@Value("${ftp.username}")
	private String ftpUsername;
	
	@Value("${ftp.password}")
	private String ftpPassword;
	
	@Value("${ftp.port}")
	private String ftpPort;
	
	

	@Value("${sysCode}")
	private String sysCode;
	
	

//	@PostConstruct
//	public void clean() {
//	}


	@Override
	public String getFileServerDir() {
		return fileServerDir;
	}

	@Override
	public String getFileServerUrl() {
		return fileServerUrl;
	}

	@Override
	public String getFtpUrl() {
		// TODO Auto-generated method stub
		return ftpUrl;
	}

	@Override
	public String getFtpUsername() {
		// TODO Auto-generated method stub
		return ftpUsername;
	}

	@Override
	public String getFtpPassword() {
		// TODO Auto-generated method stub
		return ftpPassword;
	}

	@Override
	public String getFtpPort() {
		// TODO Auto-generated method stub
		return ftpPort;
	}
	@Override
	public String getSysCode() {
		return sysCode;
	}

}